package com.question.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.question.entity.Paper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PaperMapper extends BaseMapper<Paper> {
    IPage<Paper> selectByPage(IPage<Paper> page, String keyword);

    void updateUserCount(Long id,Integer count);

    List<Paper> getByUserId(Integer id);

    List<Paper> getfinishByUserId(Integer id);
}
